package com.ruoyi.project.erp.setupbills.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 setupbills
 * 
 * @author ruoyi
 * @date 2020-08-31
 */
public class Setupbills extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工单日期 */
    @Excel(name = "施工单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddate;

    /** 施工单单号 */
    @Excel(name = "施工单单号")
    private String code;

    /** VIN码 */
    @Excel(name = "VIN码")
    private String vin;

    /** 车型 */
    @Excel(name = "车型")
    private String carstd;


    /** 施工单状态（保存，审核） */
    @Excel(name = "施工单状态", readConverterExp = "保存，审核")
    private String st;

    @Excel(name = "门店")
    private String shopname;

    /** 主键 */
    private Long id;

    /** 表头ID */
    @Excel(name = "表头ID")
    private Long mid;

    /** 表头的单号 */
    @Excel(name = "表头的单号")
    private String mcode;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String pcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pname;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String pstd;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 施工单数量 */
    @Excel(name = "施工单数量")
    private int qty;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;


    /** 备注 */
    @Excel(name = "备注")
    private String salememo;

    /** 售后类型 */
    @Excel(name = "售后类型")
    private String salectype;


    /** 售后次数 */
    @Excel(name = "售后次数")
    private String saleserviceTimes;

    /** 售后次数 */
    @Excel(name = "售后次数")
    private String esaleserviceTimes;

    private String serviceTimes;

    /** 是否存在换货 */
    @Excel(name = "是否存在换货")
    private String isChangeProduct;

    /** 换货是否处理 */
    @Excel(name = "换货是否未处理")
    private String isChangeDeal;

    private String kingSt;

    private String setupemp;

    private String ctype;

    private String itemcode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setMcode(String mcode) 
    {
        this.mcode = mcode;
    }

    public String getMcode() 
    {
        return mcode;
    }
    public void setPcode(String pcode) 
    {
        this.pcode = pcode;
    }

    public String getPcode() 
    {
        return pcode;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setPstd(String pstd) 
    {
        this.pstd = pstd;
    }

    public String getPstd() 
    {
        return pstd;
    }
    public void setPunit(String punit) 
    {
        this.punit = punit;
    }

    public String getPunit() 
    {
        return punit;
    }
    public void setQty(int qty)
    {
        this.qty = qty;
    }

    public int getQty()
    {
        return qty;
    }
    public void setSmemo(String smemo) 
    {
        this.smemo = smemo;
    }

    public String getSmemo() 
    {
        return smemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("mcode", getMcode())
            .append("pcode", getPcode())
            .append("pname", getPname())
            .append("pstd", getPstd())
            .append("punit", getPunit())
            .append("qty", getQty())
            .append("smemo", getSmemo())
            .toString();
    }

    public Date getDdate() {
        return ddate;
    }

    public void setDdate(Date ddate) {
        this.ddate = ddate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCarstd() {
        return carstd;
    }

    public void setCarstd(String carstd) {
        this.carstd = carstd;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getSt() {
        return st;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public String getSalememo() {
        return salememo;
    }

    public void setSalememo(String salememo) {
        this.salememo = salememo;
    }

    public String getSalectype() {
        return salectype;
    }

    public void setSalectype(String salectype) {
        this.salectype = salectype;
    }

    public String getSaleserviceTimes() {
        return saleserviceTimes;
    }

    public void setSaleserviceTimes(String saleserviceTimes) {
        this.saleserviceTimes = saleserviceTimes;
    }

    public String getIsChangeProduct() {
        return isChangeProduct;
    }

    public void setIsChangeProduct(String isChangeProduct) {
        this.isChangeProduct = isChangeProduct;
    }

    public String getIsChangeDeal() {
        return isChangeDeal;
    }

    public void setIsChangeDeal(String isChangeDeal) {
        this.isChangeDeal = isChangeDeal;
    }

    public String getKingSt() {
        return kingSt;
    }

    public void setKingSt(String kingSt) {
        this.kingSt = kingSt;
    }

    public String getSetupemp() {
        return setupemp;
    }

    public void setSetupemp(String setupemp) {
        this.setupemp = setupemp;
    }

    public String getCtype() {
        return ctype;
    }

    public void setCtype(String ctype) {
        this.ctype = ctype;
    }

    public String getEsaleserviceTimes() {
        return esaleserviceTimes;
    }

    public void setEsaleserviceTimes(String esaleserviceTimes) {
        this.esaleserviceTimes = esaleserviceTimes;
    }

    public String getServiceTimes() {
        return serviceTimes;
    }

    public void setServiceTimes(String serviceTimes) {
        this.serviceTimes = serviceTimes;
    }

    public String getItemcode() {
        return itemcode;
    }

    public void setItemcode(String itemcode) {
        this.itemcode = itemcode;
    }
}
